﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Reflection;
using System.Text;

namespace XKPlatform.Common.Enums
{
    enum PageInfoEnum
    {
    }
    /// <summary>
    /// 接口方式 表格按钮 页面按钮  http请求
    /// </summary>
    public enum ButtonTypeEnum
    {
        PageBtn = 1,
        ColBtn = 2,
        HttpCall = 3

    }

    /// <summary>
    /// 自动生成页面默认按钮名称
    /// </summary>
    public enum PageActionEnum
    {
        [Description("新增,1")]
        Add,
        [Description("编辑,2")]
        edit,
        [Description("详情,2")]
        detail,
        [Description("删除,2")]
        del,
        [Description("批量删除,1")]
        DelAll,
        [Description("导出,1")]
        ExportExcel
    } 
    /// <summary>
    /// 接口来源 系统内置，扫描action 用户自定义接口
    /// </summary>
    public enum ApiSourceType
    {
        /// <summary>
        /// 系统内置
        /// </summary>
        sys,
        /// <summary>
        /// 用户自定义，扫描action
        /// </summary>
        scanAction
    }
}
